<html lang="zh-CN"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>校园跑腿 - 您的校园生活好帮手</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#3B82F6',
                        secondary: '#10B981',
                        accent: '#F59E0B',
                        dark: '#1F2937',
                        light: '#F3F4F6'
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .shadow-custom {
                box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
            }
            .transition-custom {
                transition: all 0.3s ease;
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <!-- 联系客服悬浮按钮 -->
    <div class="fixed bottom-6 right-6 z-40 bg-primary text-white px-4 py-3 rounded-full-lg shadow shadow-lg shadow-lg transform hover:shadow-xl transition-custom flex items-center">
        <i class="fa fa-comments mr-2"></i>
        <span>联系客服请加微信号m1m2u3</span>
    </div>

    <!-- 导航栏 -->
    <nav id="navbar" class="fixed w-full bg-white/90 backdrop-blur-sm shadow-md z-50 transition-custom">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <i class="fa fa-bicycle text-primary text-2xl"></i>
                <span class="text-xl font-bold text-dark">校园跑腿</span>
            </div>
            <div class="hidden md:flex items-center space-x-8">
                <a href="#home" class="text-gray-700 hover:text-primary transition-custom">首页</a>
                <a href="#services" class="text-gray-700 hover:text-primary transition-custom">服务</a>
                <a href="#order" class="text-gray-700 hover:text-primary transition-custom">下单</a>
                <a href="#track" class="text-gray-700 hover:text-primary transition-custom">订单查询</a>
                <a href="#about" class="text-gray-700 hover:text-primary transition-custom">关于我们</a>
            </div>
            <div class="md:hidden">
                <button id="menuBtn" class="text-gray-700 focus:outline-none">
                    <i class="fa fa-bars text-xl"></i>
                </button>
            </div>
        </div>
        <!-- 移动端菜单 -->
        <div id="mobileMenu" class="hidden md:hidden bg-white border-t">
            <div class="container mx-auto px-4 py-2 flex flex-col space-y-3">
                <a href="#home" class="py-2 text-gray-700 hover:text-primary transition-custom">首页</a>
                <a href="#services" class="py-2 text-gray-700 hover:text-primary transition-custom">服务</a>
                <a href="#order" class="py-2 text-gray-700 hover:text-primary transition-custom">下单</a>
                <a href="#track" class="py-2 text-gray-700 hover:text-primary transition-custom">订单查询</a>
                <a href="#about" class="py-2 text-gray-700 hover:text-primary transition-custom">关于我们</a>
            </div>
        </div>
    </nav>

    <!-- 英雄区域 -->
    <section id="home" class="pt-28 pb-16 md:pt-36 md:pb-24 bg-gradient-to-br from-blue-50 to-green-50">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0">
                    <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-bold text-dark leading-tight mb-4">
                        校园跑腿<br>
                        <span class="text-primary">解放你的时间</span>
                    </h1>
                    <p class="text-gray-600 text-lg mb-8 max-w-lg">
                        取快递、买饭、送文件... 校园里的琐事交给我们，让你专注于更重要的事情。
                    </p>
                    <div class="flex flex-col sm:flex-row gap-4">
                        <a href="#order" class="bg-primary hover:bg-primary/90 text-white font-medium py-3 px-8 rounded-lg shadow-lg hover:shadow-xl transition-custom text-center">
                            立即下单
                        </a>
                        <a href="#services" class="bg-white hover:bg-gray-100 text-primary border border-primary font-medium py-3 px-8 rounded-lg shadow-md hover:shadow-lg transition-custom text-center">
                            了解服务
                        </a>
                    </div>
                    <div class="mt-8 flex items-center space-x-6">
                        <div class="flex -space-x-2">
                            <img src="https://picsum.photos/id/237/100/100" alt="用户头像" class="w-10 h-10 rounded-full border-2 border-white">
                            <img src="https://picsum.photos/id/238/100/100" alt="用户头像" class="w-10 h-10 rounded-full border-2 border-white">
                            <img src="https://picsum.photos/id/239/100/100" alt="用户头像" class="w-10 h-10 rounded-full border-2 border-white">
                        </div>
                        <div>
                            <div class="flex items-center text-yellow-400 mb-1">
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star-half-o"></i>
                                <span class="ml-2 text-gray-600">4.8/5</span>
                            </div>
                            <p class="text-gray-600 text-sm">来自2000+同学的好评</p>
                        </div>
                    </div>
                </div>
                <div class="md:w-1/2 relative">
                    <div class="relative z-10 rounded-2xl overflow-hidden shadow-2xl transform hover:scale-[1.02] transition-custom">
                        <img src="https://picsum.photos/id/1060/800/600" alt="校园跑腿服务" class="w-full h-auto">
                    </div>
                    <div class="absolute -bottom-6 -left-6 w-32 h-32 bg-accent/20 rounded-full blur-2xl z-0"></div>
                    <div class="absolute -top-6 -right-6 w-32 h-32 bg-primary/20 rounded-full blur-2xl z-0"></div>
                </div>
            </div>
        </div>
    </section>

    <!-- 服务介绍 -->
    <section id="services" class="py-16 bg-white">
        <div class="container mx-auto px-4">
            <div class="text-center mb-16">
                <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold text-dark mb-4">我们的服务</h2>
                <p class="text-gray-600 max-w-2xl mx-auto">无论是取快递、买饭还是送文件，我们都能高效完成，让你专注于学习和生活</p>
            </div>
            
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                <!-- 服务卡片1 -->
                <div class="bg-light rounded-xl p-6 shadow-custom hover:shadow-xl transition-custom transform hover:-translate-y-1">
                    <div class="w-14 h-14 bg-primary/10 rounded-lg flex items-center justify-center mb-6">
                        <i class="fa fa-box text-primary text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold text-dark mb-3">快递代取</h3>
                    <p class="text-gray-600 mb-4">校园快递点代取服务，支持各大快递站点，帮你节省排队时间。</p>
                    <div class="flex justify-between items-center">
                        <span class="text-accent font-medium">¥3起/件</span>
                        <a href="#order" class="text-primary hover:text-primary/80 font-medium flex items-center">
                            立即下单 <i class="fa fa-arrow-right ml-2 text-sm"></i>
                        </a>
                    </div>
                </div>
                
                <!-- 服务卡片2 -->
                <div class="bg-light rounded-xl p-6 shadow-custom hover:shadow-xl transition-custom transform hover:-translate-y-1">
                    <div class="w-14 h-14 bg-secondary/10 rounded-lg flex items-center justify-center mb-6">
                        <i class="fa fa-utensils text-secondary text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold text-dark mb-3">美食代购</h3>
                    <p class="text-gray-600 mb-4">食堂、校外餐厅美食代购，新鲜送达，让你足不出户享受美食。</p>
                    <div class="flex justify-between items-center">
                        <span class="text-accent font-medium">¥2起/单</span>
                        <a href="#order" class="text-primary hover:text-primary/80 font-medium flex items-center">
                            立即下单 <i class="fa fa-arrow-right ml-2 text-sm"></i>
                        </a>
                    </div>
                </div>
                
                <!-- 服务卡片3 -->
                <div class="bg-light rounded-xl p-6 shadow-custom hover:shadow-xl transition-custom transform hover:-translate-y-1">
                    <div class="w-14 h-14 bg-accent/10 rounded-lg flex items-center justify-center mb-6">
                        <i class="fa fa-file-text text-accent text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold text-dark mb-3">文件代送</h3>
                    <p class="text-gray-600 mb-4">校园内文件、资料、物品代送服务，快速安全，准时送达。</p>
                    <div class="flex justify-between items-center">
                        <span class="text-accent font-medium">¥5起/单</span>
                        <a href="#order" class="text-primary hover:text-primary/80 font-medium flex items-center">
                            立即下单 <i class="fa fa-arrow-right ml-2 text-sm"></i>
                        </a>
                    </div>
                </div>
                
                <!-- 服务卡片4 -->
                <div class="bg-light rounded-xl p-6 shadow-custom hover:shadow-xl transition-custom transform hover:-translate-y-1">
                    <div class="w-14 h-14 bg-purple-100 rounded-lg flex items-center justify-center mb-6">
                        <i class="fa fa-shopping-bag text-purple-500 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold text-dark mb-3">物品采购</h3>
                    <p class="text-gray-600 mb-4">超市、便利店物品采购，帮你购买日常生活所需用品。</p>
                    <div class="flex justify-between items-center">
                        <span class="text-accent font-medium">¥3起/单</span>
                        <a href="#order" class="text-primary hover:text-primary/80 font-medium flex items-center">
                            立即下单 <i class="fa fa-arrow-right ml-2 text-sm"></i>
                        </a>
                    </div>
                </div>
                
                <!-- 服务卡片5 -->
                <div class="bg-light rounded-xl p-6 shadow-custom hover:shadow-xl transition-custom transform hover:-translate-y-1">
                    <div class="w-14 h-14 bg-red-100 rounded-lg flex items-center justify-center mb-6">
                        <i class="fa fa-coffee text-red-500 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold text-dark mb-3">饮品代购</h3>
                    <p class="text-gray-600 mb-4">奶茶、咖啡等饮品代购，保持最佳口感，及时送达。</p>
                    <div class="flex justify-between items-center">
                        <span class="text-accent font-medium">¥2起/单</span>
                        <a href="#order" class="text-primary hover:text-primary/80 font-medium flex items-center">
                            立即下单 <i class="fa fa-arrow-right ml-2 text-sm"></i>
                        </a>
                    </div>
                </div>
                
                <!-- 服务卡片6 -->
                <div class="bg-light rounded-xl p-6 shadow-custom hover:shadow-xl transition-custom transform hover:-translate-y-1">
                    <div class="w-14 h-14 bg-indigo-100 rounded-lg flex items-center justify-center mb-6">
                        <i class="fa fa-ellipsis-h text-indigo-500 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-bold text-dark mb-3">其他服务</h3>
                    <p class="text-gray-600 mb-4">更多校园服务需求，可自定义说明，我们尽力满足你的要求。</p>
                    <div class="flex justify-between items-center">
                        <span class="text-accent font-medium">面议</span>
                        <a href="#order" class="text-primary hover:text-primary/80 font-medium flex items-center">
                            立即下单 <i class="fa fa-arrow-right ml-2 text-sm"></i>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 下单区域 -->
    <section id="order" class="py-16 bg-gray-50">
        <div class="container mx-auto px-4">
            <div class="text-center mb-16">
                <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold text-dark mb-4">快速下单</h2>
                <p class="text-gray-600 max-w-2xl mx-auto">填写以下信息，我们将尽快为您提供服务</p>
            </div>
            
            <div class="max-w-3xl mx-auto bg-white rounded-2xl shadow-custom p-6 md:p-8">
                <form id="orderForm" class="space-y-6">
                    <!-- 服务类型 -->
                    <div>
                        <label for="serviceType" class="block text-gray-700 font-medium mb-2">服务类型 <span class="text-red-500">*</span></label>
                        <select id="serviceType" name="serviceType" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-custom" required="">
                            <option value="">请选择服务类型</option>
                            <option value="express">快递代取</option>
                            <option value="food">美食代购</option>
                            <option value="document">文件代送</option>
                            <option value="shopping">物品采购</option>
                            <option value="drinks">饮品代购</option>
                            <option value="other">其他服务</option>
                        </select>
                    </div>
                    
                    <!-- 取货信息 -->
                    <div>
                        <label for="pickupLocation" class="block text-gray-700 font-medium mb-2">取货地点 <span class="text-red-500">*</span></label>
                        <input type="text" id="pickupLocation" name="pickupLocation" placeholder="例如：南门快递点、第一食堂" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-custom" required="">
                    </div>
                    
                    <div>
                        <label for="pickupDetails" class="block text-gray-700 font-medium mb-2">取货详情</label>
                        <input type="text" id="pickupDetails" name="pickupDetails" placeholder="例如：快递单号、具体摊位" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-custom">
                    </div>
                    
                    <!-- 送货信息 -->
                    <div>
                        <label for="deliveryLocation" class="block text-gray-700 font-medium mb-2">送货地点 <span class="text-red-500">*</span></label>
                        <input type="text" id="deliveryLocation" name="deliveryLocation" placeholder="例如：3号宿舍楼502室" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-custom" required="">
                    </div>
                    
                    <!-- 时间要求 -->
                    <div>
                        <label for="timeRequirement" class="block text-gray-700 font-medium mb-2">时间要求 <span class="text-red-500">*</span></label>
                        <input type="datetime-local" id="timeRequirement" name="timeRequirement" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-custom" required="">
                    </div>
                    
                    <!-- 联系方式 -->
                    <div>
                        <label for="contactInfo" class="block text-gray-700 font-medium mb-2">联系电话 <span class="text-red-500">*</span></label>
                        <input type="tel" id="contactInfo" name="contactInfo" placeholder="请输入您的手机号码" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-custom" required="">
                    </div>
                    
                    <!-- 备注信息 -->
                    <div>
                        <label for="notes" class="block text-gray-700 font-medium mb-2">备注信息</label>
                        <textarea id="notes" name="notes" rows="3" placeholder="请输入其他需要说明的信息" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-custom"></textarea>
                    </div>
                    
                    <!-- 提交按钮 -->
                    <div>
                        <button type="submit" class="w-full bg-primary hover:bg-primary/90 text-white font-medium py-3 px-6 rounded-lg shadow-md hover:shadow-lg transition-custom flex items-center justify-center">
                            <i class="fa fa-paper-plane mr-2"></i> 提交订单
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </section>

    <!-- 订单查询 -->
    <section id="track" class="py-16 bg-white">
        <div class="container mx-auto px-4">
            <div class="text-center mb-16">
                <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold text-dark mb-4">订单查询</h2>
                <p class="text-gray-600 max-w-2xl mx-auto">输入订单号，查询您的订单状态</p>
            </div>
            
            <div class="max-w-xl mx-auto">
                <div class="flex mb-8">
                    <input type="text" id="orderId" placeholder="请输入订单号" class="flex-1 px-4 py-3 border border-gray-300 rounded-l-lg focus:ring-2 focus:ring-primary focus:border-primary transition-custom">
                    <button id="trackBtn" class="bg-primary hover:bg-primary/90 text-white font-medium py-3 px-6 rounded-r-lg shadow-md hover:shadow-lg transition-custom">
                        <i class="fa fa-search mr-1"></i> 查询
                    </button>
                </div>
                
                <!-- 订单状态结果 -->
                <div id="orderResult" class="hidden bg-light rounded-xl p-6 shadow-custom">
                    <div class="flex justify-between items-start mb-6">
                        <div>
                            <h3 class="text-xl font-bold text-dark">订单 #<span id="resultOrderId">ORD20230515001</span></h3>
                            <p class="text-gray-600" id="resultServiceType">服务类型：快递代取</p>
                        </div>
                        <span id="resultStatus" class="bg-yellow-100 text-yellow-800 px-3 py-1 rounded-full text-sm font-medium">处理中</span>
                    </div>
                    
                    <div class="space-y-4 mb-6">
                        <div class="flex justify-between">
                            <span class="text-gray-600">下单时间：</span>
                            <span id="resultOrderTime" class="font-medium">2023-05-15 10:30:25</span>
                        </div>
                        <div class="flex justify-between">
                            <span class="text-gray-600">取货地点：</span>
                            <span id="resultPickup" class="font-medium">南门快递点</span>
                        </div>
                        <div class="flex justify-between">
                            <span class="text-gray-600">送货地点：</span>
                            <span id="resultDelivery" class="font-medium">3号宿舍楼502室</span>
                        </div>
                        <div class="flex justify-between">
                            <span class="text-gray-600">预计送达：</span>
                            <span id="resultEstimate" class="font-medium">2023-05-15 11:30</span>
                        </div>
                        <div class="flex justify-between">
                            <span class="text-gray-600">配送员：</span>
                            <span id="resultRunner" class="font-medium">张明 #10086</span>
                        </div>
                    </div>
                    
                    <!-- 订单进度 -->
                    <div>
                        <h4 class="font-medium text-gray-700 mb-3">订单进度</h4>
                        <div class="relative">
                            <!-- 进度线 -->
                            <div class="absolute left-3 top-0 bottom-0 w-0.5 bg-gray-200"></div>
                            
                            <!-- 进度节点 -->
                            <div class="relative pl-10 pb-6">
                                <div class="absolute left-0 w-6 h-6 rounded-full bg-green-500 flex items-center justify-center">
                                    <i class="fa fa-check text-white text-xs"></i>
                                </div>
                                <div>
                                    <p class="font-medium text-gray-900">订单已提交</p>
                                    <p class="text-sm text-gray-500">2023-05-15 10:30:25</p>
                                </div>
                            </div>
                            
                            <div class="relative pl-10 pb-6">
                                <div class="absolute left-0 w-6 h-6 rounded-full bg-green-500 flex items-center justify-center">
                                    <i class="fa fa-check text-white text-xs"></i>
                                </div>
                                <div>
                                    <p class="font-medium text-gray-900">配送员已接单</p>
                                    <p class="text-sm text-gray-500">2023-05-15 10:35:12</p>
                                </div>
                            </div>
                            
                            <div class="relative pl-10 pb-6">
                                <div class="absolute left-0 w-6 h-6 rounded-full bg-yellow-500 flex items-center justify-center">
                                    <i class="fa fa-spinner text-white text-xs fa-spin"></i>
                                </div>
                                <div>
                                    <p class="font-medium text-gray-900">正在前往取货点</p>
                                    <p class="text-sm text-gray-500">2023-05-15 10:40:05</p>
                                </div>
                            </div>
                            
                            <div class="relative pl-10">
                                <div class="absolute left-0 w-6 h-6 rounded-full bg-gray-300"></div>
                                <div>
                                    <p class="font-medium text-gray-500">已取货，正在配送</p>
                                    <p class="text-sm text-gray-400">待完成</p>
                                </div>
                            </div>
                            
                            <div class="relative pl-10">
                                <div class="absolute left-0 w-6 h-6 rounded-full bg-gray-300"></div>
                                <div>
                                    <p class="font-medium text-gray-500">已送达，订单完成</p>
                                    <p class="text-sm text-gray-400">待完成</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 未找到订单 -->
                <div id="orderNotFound" class="hidden bg-red-50 border border-red-100 rounded-xl p-6 text-center">
                    <i class="fa fa-exclamation-circle text-red-500 text-3xl mb-3"></i>
                    <p class="text-red-700">未找到该订单，请检查订单号是否正确</p>
                </div>
            </div>
        </div>
    </section>

    <!-- 关于我们 -->
    <section id="about" class="py-16 bg-gradient-to-br from-primary/5 to-secondary/5">
        <div class="container mx-auto px-4">
            <div class="flex flex-col lg:flex-row items-center gap-12">
                <div class="lg:w-1/2">
                    <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold text-dark mb-6">关于校园跑腿</h2>
                    <p class="text-gray-600 mb-4 text-lg">校园跑腿是专为在校学生打造的便捷服务平台，旨在解决同学们在校园生活中遇到的各种琐事难题。</p>
                    <p class="text-gray-600 mb-6 text-lg">我们的团队由一群热心的学生组成，熟悉校园环境，能够快速高效地完成各项任务，让你有更多时间专注于学习和生活。</p>
                    
                    <div class="grid grid-cols-2 gap-6 mb-8">
                        <div class="text-center">
                            <div class="text-4xl font-bold text-primary mb-2">98%</div>
                            <p class="text-gray-600">准时率</p>
                        </div>
                        <div class="text-center">
                            <div class="text-4xl font-bold text-primary mb-2">2000+</div>
                            <p class="text-gray-600">服务订单</p>
                        </div>
                        <div class="text-center">
                            <div class="text-4xl font-bold text-primary mb-2">50+</div>
                            <p class="text-gray-600">配送员</p>
                        </div>
                        <div class="text-center">
                            <div class="text-4xl font-bold text-primary mb-2">4.8</div>
                            <p class="text-gray-600">平均评分</p>
                        </div>
                    </div>
                    
                    <div class="flex space-x-4">
                        <a href="#" class="bg-primary hover:bg-primary/90 text-white w-10 h-10 rounded-full flex items-center justify-center transition-custom">
                            <i class="fa fa-weixin"></i>
                        </a>
                        <a href="#" class="bg-gray-200 hover:bg-gray-300 text-gray-700 w-10 h-10 rounded-full flex items-center justify-center transition-custom">
                            <i class="fa fa-qq"></i>
                        </a>
                        <a href="#" class="bg-gray-200 hover:bg-gray-300 text-gray-700 w-10 h-10 rounded-full flex items-center justify-center transition-custom">
                            <i class="fa fa-phone"></i>
                        </a>
                    </div>
                </div>
                
                <div class="lg:w-1/2 relative">
                    <div class="relative z-10 rounded-2xl overflow-hidden shadow-2xl">
                        <img src="https://picsum.photos/id/325/800/600" alt="我们的团队" class="w-full h-auto">
                    </div>
                    <div class="absolute -bottom-6 -right-6 w-32 h-32 bg-secondary/20 rounded-full blur-2xl z-0"></div>
                    <div class="absolute -top-6 -left-6 w-32 h-32 bg-primary/20 rounded-full blur-2xl z-0"></div>
                </div>
            </div>
        </div>
    </section>

    <!-- 订单成功模态框 -->
    <div id="successModal" class="fixed inset-0 bg-black/50 flex items-center justify-center z-50 hidden">
        <div class="bg-white rounded-2xl p-8 max-w-md w-full mx-4 transform transition-all scale-100">
            <div class="text-center">
                <div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-6">
                    <i class="fa fa-check text-green-500 text-2xl"></i>
                </div>
                <h3 class="text-2xl font-bold text-dark mb-2">订单提交成功！</h3>
                <p class="text-gray-600 mb-6">您的订单号是：<span id="modalOrderId" class="font-medium text-primary">ORD20230515001</span></p>
                
                <div class="mb-6">
                    <p class="text-gray-600 mb-2">扫码查看订单状态</p>
                    <div class="bg-white p-2 inline-block rounded-lg border border-gray-200 mx-auto">
                        <img src="https://picsum.photos/id/1/120/120" alt="订单二维码" class="w-32 h-32">
                    </div>
                </div>
                
                <div class="flex flex-col sm:flex-row gap-4">
                    <button id="closeModalBtn" class="flex-1 bg-gray-200 hover:bg-gray-300 text-gray-700 font-medium py-3 px-6 rounded-lg transition-custom">
                        返回首页
                    </button>
                    <button id="trackModalBtn" class="flex-1 bg-primary hover:bg-primary/90 text-white font-medium py-3 px-6 rounded-lg transition-custom">
                        查看订单状态
                    </button>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <footer class="bg-dark text-white py-12">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-8">
                <div>
                    <div class="flex items-center space-x-2 mb-6">
                        <i class="fa fa-bicycle text-primary text-2xl"></i>
                        <span class="text-xl font-bold">校园跑腿</span>
                    </div>
                    <p class="text-gray-400 mb-6">专注于为校园师生提供便捷的跑腿服务，让生活更轻松。</p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-custom">
                            <i class="fa fa-weixin text-xl"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-custom">
                            <i class="fa fa-qq text-xl"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-custom">
                            <i class="fa fa-phone text-xl"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h4 class="text-lg font-bold mb-6">服务项目</h4>
                    <ul class="space-y-3">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">快递代取</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">美食代购</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">文件代送</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">物品采购</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">饮品代购</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-bold mb-6">帮助中心</h4>
                    <ul class="space-y-3">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">如何下单</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">支付方式</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">订单查询</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">常见问题</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-custom">联系客服请加微信号m1m2u3</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="text-lg font-bold mb-6">联系我们</h4>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fa fa-map-marker text-primary mt-1 mr-3"></i>
                            <span class="text-gray-400">XX大学校园内</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-phone text-primary mr-3"></i>
                            <span class="text-gray-400">138-XXXX-XXXX</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-weixin text-primary mr-3"></i>
                            <span class="text-gray-400">m1m2u3</span>
                        </li>
                        <li class="flex items-center">
                            <i class="fa fa-envelope text-primary mr-3"></i>
                            <span class="text-gray-400">service@campusrunner.com</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <div class="border-t border-gray-800 pt-8 text-center text-gray-500 text-sm">
                <p>© 2023 校园跑腿服务平台 版权所有 | 联系客服请加微信号m1m2u3</p>
            </div>
        </div>
    </footer>

    <script>
        // 移动端菜单切换
        document.getElementById('menuBtn').addEventListener('click', function() {
            const mobileMenu = document.getElementById('mobileMenu');
            mobileMenu.classList.toggle('hidden');
        });
        
        // 导航栏滚动效果
        window.addEventListener('scroll', function() {
            const navbar = document.getElementById('navbar');
            if (window.scrollY > 50) {
                navbar.classList.add('py-2');
                navbar.classList.remove('py-3');
                navbar.classList.add('shadow-lg');
            } else {
                navbar.classList.add('py-3');
                navbar.classList.remove('py-2');
                navbar.classList.remove('shadow-lg');
            }
        });
        
        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                
                const targetId = this.getAttribute('href');
                const targetElement = document.querySelector(targetId);
                
                if (targetElement) {
                    window.scrollTo({
                        top: targetElement.offsetTop - 80,
                        behavior: 'smooth'
                    });
                    
                    // 关闭移动菜单
                    document.getElementById('mobileMenu').classList.add('hidden');
                }
            });
        });
        
        // 生成订单号
        function generateOrderId() {
            const prefix = 'ORD';
            const date = new Date();
            const year = date.getFullYear();
            const month = String(date.getMonth() + 1).padStart(2, '0');
            const day = String(date.getDate()).padStart(2, '0');
            const random = Math.floor(Math.random() * 1000).toString().padStart(3, '0');
            return `${prefix}${year}${month}${day}${random}`;
        }
        
        // 表单提交处理
        document.getElementById('orderForm').addEventListener('submit', function(e) {
            e.preventDefault();
            
            // 生成订单号
            const orderId = generateOrderId();
            
            // 在实际应用中，这里会将订单数据发送到服务器
            console.log('订单提交成功，订单号：', orderId);
            
            // 显示成功模态框
            document.getElementById('modalOrderId').textContent = orderId;
            document.getElementById('successModal').classList.remove('hidden');
            
            // 重置表单
            this.reset();
        });
        
        // 关闭模态框
        document.getElementById('closeModalBtn').addEventListener('click', function() {
            document.getElementById('successModal').classList.add('hidden');
            // 滚动到首页
            window.scrollTo({
                top: document.getElementById('home').offsetTop - 80,
                behavior: 'smooth'
            });
        });
        
        // 从模态框查看订单
        document.getElementById('trackModalBtn').addEventListener('click', function() {
            const orderId = document.getElementById('modalOrderId').textContent;
            document.getElementById('successModal').classList.add('hidden');
            
            // 滚动到订单查询区域
            window.scrollTo({
                top: document.getElementById('track').offsetTop - 80,
                behavior: 'smooth'
            });
            
            // 填充订单号并模拟查询
            setTimeout(() => {
                document.getElementById('orderId').value = orderId;
                document.getElementById('orderNotFound').classList.add('hidden');
                document.getElementById('orderResult').classList.remove('hidden');
                document.getElementById('resultOrderId').textContent = orderId;
            }, 800);
        });
        
        // 订单查询
        document.getElementById('trackBtn').addEventListener('click', function() {
            const orderId = document.getElementById('orderId').value.trim();
            
            if (!orderId) {
                alert('请输入订单号');
                return;
            }
            
            // 在实际应用中，这里会发送请求到服务器查询订单
            // 这里使用随机模拟查询结果
            const isFound = Math.random() > 0.3; // 70% 概率找到订单
            
            if (isFound) {
                document.getElementById('orderNotFound').classList.add('hidden');
                document.getElementById('orderResult').classList.remove('hidden');
                document.getElementById('resultOrderId').textContent = orderId;
            } else {
                document.getElementById('orderResult').classList.add('hidden');
                document.getElementById('orderNotFound').classList.remove('hidden');
            }
        });
    </script>


</body></html>